﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>出诊详情</title>
    <link href="~/BootstrapS/css/plugins/iCheck/custom.css" rel="stylesheet" />
    <link href="~/BootstrapS/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <script src="~/vue/axios.min.js"></script>
    <script src="~/vue/qs.min.js"></script>
    <script src="~/vue/vue.min.js"></script>
    <script src="~/BootstrapS/js/plugins/iCheck/icheck.min.js"></script>
    <script src="~/BootstrapS/js/plugins/sweetalert/sweetalert.min.js"></script>
</head>

<body>
    <div id="updiv">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" v-on:click="location.reload()" aria-hidden="true" style="font-size:30px">
                &times;
            </button>
            <h3 class="modal-title" id="myModalLabel">出诊详情</h3>
        </div>
        <div>
            <div style="width:90%;float:left;margin-left:20px;margin-top:15px">
                病人编号

                <input type="search" class="form-control input-sm" value="AP202004210002" aria-controls="DataTables_Table_0" style="width:240px"  v-model="patient.patient_Name">
                <br /><br />
                挂号科室
                      <select id="Selecttab" class="btn btn-outline btn-success" style="width:200px;height:40px" v-model="patient.outpatient_Id">
                          <option v-bind:value="0">消化内科</option>
                          <option v-for="item in info" v-bind:value="item.outpatient_Id">{{item.outpatient_Name}}</option>
                      </select>                <br /><br />
                医生姓名<br />
                <input id="hello" value="小高医生" class="laydate-icon form-control layer-date" v-model="                                z.patient_Birthday" >
                <br />
                <br />
                挂号日期
                <input type="search" value="2020.9.21" class="form-control input-sm" aria-controls="DataTables_Table_0" style="width:240px" v-model="patient.patient_Email">
                <br />
                <br />
                挂号时段
                <input type="search" value="09:00-10:00" class="form-control input-sm" aria-controls="DataTables_Table_0" style="width:240px" v-model="patient.patient_Email">
                <br />
                <br />
                挂号号码
                <input type="search" value="10002"  class="form-control input-sm" aria-controls="DataTables_Table_0" style="width:240px" v-model="patient.patient_Email">
                <br />
                <br />
            </div>
          
        </div>
        <div class="modal-footer">
            <div style="float:right">
                <button type="button" class="btn btn-outline btn-default" v-on:click="location.reload()" data-dismiss="modal">
                    退出
                </button>
                <button type="button" v-on:click="updatepatient" class="btn btn-outline btn-warning">提交</button>
            </div>
        </div>
    </div>
</body>
</html>
<script>
    var id = sessionStorage["id"];
    //new Vue({
    //    el: '#updiv',
    //    data() {
    //        info = null,
    //            outcall = null
    //    },
    //    mounted() {
    //        function getout() {
    //            return axios
    //                .get('/Patient/GetOutpatient');
    //        }
    //        function getout() {
    //            return axios.get('/Outcall/GetOutcallById', { params: { id: id } });
    //        }
    //        axios.all([getout(), getout()])
    //            .then(axios.spread((outpat, patbyid) => {
    //                this.info = outpat.data;
    //                this.outcall = patbyid.data;
    //            }))
    //}
    //})
</script>